.em-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
}

.em-top-actions a,
.em-top-actions button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(117, 181, 255, .22);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(29, 58, 108, .95), rgba(15, 27, 57, .95));
  color: #e9f5ff;
  font-size: 11px;
  font-weight: 1000;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .25), inset 0 0 16px rgba(95, 160, 255, .12);
}

.em-top-actions a:nth-child(2) {
  background: linear-gradient(180deg, #ffbf35, #ff7522);
  color: #fff;
}

.em-top-actions a:nth-child(3) {
  background: linear-gradient(180deg, #31e47b, #13794d);
  color: #fff;
}

.em-top-actions button {
  background: linear-gradient(180deg, #3b3147, #1f1829);
}

body.em-has-new-notice [data-em-notify-toggle] {
  box-shadow: 0 0 0 3px rgba(255, 130, 29, .24), 0 0 26px rgba(255, 130, 29, .55);
}

.em-notify-panel {
  position: fixed;
  z-index: 10050;
  top: 86px;
  right: 26px;
  width: min(330px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid rgba(63, 142, 210, .48);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(7, 34, 58, .98), rgba(5, 17, 34, .98));
  color: #eaf6ff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .5);
}

.em-notify-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.em-notify-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 8px;
}

.em-notify-head strong {
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .05em;
}

.em-notify-head span {
  display: block;
  margin-top: 5px;
  color: #8fb5d8;
  font-size: 11px;
}

.em-notify-head button {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(151, 201, 255, .42);
  border-radius: 50%;
  background: transparent;
  color: #eaf6ff;
  cursor: pointer;
}

.em-notify-list {
  display: grid;
  gap: 8px;
}

.em-notify-list article {
  padding: 11px 12px;
  border: 1px solid rgba(79, 147, 211, .32);
  border-radius: 8px;
  background: rgba(12, 28, 55, .78);
  font-size: 12px;
  line-height: 1.35;
}

.em-notify-list strong {
  color: #ff8f2a;
}

.em-notify-list time {
  display: block;
  margin-top: 4px;
  color: #93aac4;
  font-size: 10px;
  text-align: right;
}

.em-notify-open {
  display: grid;
  place-items: center;
  margin-top: 10px;
  min-height: 36px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffc534, #ff7b24);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 1000;
}

.em-vote-intro,
.em-vote-rewards {
  border: 1px solid rgba(114, 158, 208, .22);
  border-radius: 8px;
  background: rgba(18, 22, 33, .74);
  padding: 12px;
  margin-bottom: 14px;
}

.em-vote-intro h3,
.em-vote-rewards h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
}

.em-vote-banner {
  min-height: 92px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  background:
    linear-gradient(90deg, rgba(255, 112, 23, .38), rgba(8, 42, 82, .44), rgba(255, 191, 49, .32)),
    radial-gradient(circle at 18% 50%, rgba(38, 212, 255, .42), transparent 32%),
    radial-gradient(circle at 82% 50%, rgba(255, 212, 60, .45), transparent 28%),
    rgba(11, 15, 25, .88);
  overflow: hidden;
}

.em-vote-banner span,
.em-vote-banner strong,
.em-vote-banner em {
  position: relative;
  z-index: 1;
}

.em-vote-banner span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #1e9cff, #0d4b99);
  color: #fff;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.em-vote-banner strong {
  color: #ffd050;
  font-size: 26px;
  text-transform: uppercase;
}

.em-vote-banner em {
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.em-vote-intro p {
  margin: 10px 0 0;
  color: #c8d5e7;
  line-height: 1.55;
}

.em-vote-prize {
  width: max-content;
  min-width: 112px;
  margin: 10px auto 0;
  padding: 14px;
  border: 2px solid #ffd34a;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(91, 65, 150, .86), rgba(73, 55, 111, .86));
  color: #fff;
  text-align: center;
  box-shadow: 0 0 18px rgba(255, 210, 74, .25);
}

.em-vote-prize strong,
.em-vote-prize span {
  display: block;
}

.em-vote-prize span {
  margin-top: 5px;
  color: #ffdd82;
  font-size: 11px;
}

.em-vote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.em-vote-card {
  min-height: 106px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(34, 149, 215, .4);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(5, 42, 72, .95), rgba(4, 26, 48, .95));
  box-shadow: inset 0 0 20px rgba(77, 178, 255, .08);
}

.em-vote-card strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.em-vote-card span,
.em-vote-card small {
  color: #c6d8e9;
  font-size: 12px;
}

.em-vote-card button {
  min-height: 34px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(90deg, #ffd223, #ff8126);
  color: #fff;
  font-weight: 1000;
  cursor: pointer;
}

.alert {
  border-radius: 10px;
  margin: 12px 0;
  padding: 13px 15px;
}

.alert-success,
.alert-info {
  border: 1px solid rgba(82, 255, 164, .26);
  background: rgba(18, 80, 55, .35);
  color: #d9ffee;
}

.alert-danger,
.alert-warning {
  border: 1px solid rgba(255, 111, 132, .32);
  background: rgba(92, 21, 44, .36);
  color: #ffd9df;
}

@media (max-width: 1120px) {
  .em-top-actions {
    margin-left: 0;
  }

  .em-vote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .em-notify-panel {
    top: 74px;
    right: 14px;
  }

  .em-vote-grid,
  .em-vote-banner {
    grid-template-columns: 1fr;
  }
}
